<script setup lang="ts">
import { defineAsyncComponent, type Component } from 'vue'

const importedTextComsMap = Object.values(import.meta.glob<Component>('./testCodes/*.vue'))
</script>
<template>
  <div>
    <template v-for="(component, i) in importedTextComsMap" :key="i">
      <component :is="defineAsyncComponent(component)"></component>
    </template>
  </div>
</template>
